import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import 'nes.css/css/nes.min.css'


// 引入路由
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: () => import('./views/index.vue') },
    { path: '/self-introduction', component: () => import('./views/self-introduction.vue') },
    { path: '/self-images', component: () => import('./views/self-images.vue') },
    { path: '/self-menu', component: () => import('./views/self-menu.vue') },
    { path: '/test', component: () => import('./App_copy.vue') }
  ]
})


let app =createApp(App)
app.use(router)
app.mount('#app')
